package com.rongc.client.freight.business.supply.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.rongc.client.core.network.api.AbsRequest;
import com.rongc.client.core.network.params.BaseParams;
import com.rongc.client.freight.ApiUrl;
import com.rongc.client.freight.business.supply.model.SupplyMyList;


/*
*  我的运单接口
* */

public class SupplyMyListApi extends AbsRequest<SupplyMyListApi.SupplyMyListParams, SupplyMyList> {

    public SupplyMyListApi(SupplyMyListParams feedbackParams, Listener<SupplyMyList> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getSupplyMyUrl(), feedbackParams, listener, errorListener, SupplyMyList.class);
    }

    public static class SupplyMyListParams extends BaseParams {

        public SupplyMyListParams(String userId,String page) {
            put("userId",userId);
            put("page",page);
        }
    }


}
